%function batch(num,m,n)
clear
clc
m = 8;
n = 1;
num = 3;
folder =  sprintf('%dx%d',m,n);
mkdir(folder);
for i = 1:num
    %inputname  =  sprintf('./testcase/2009Walls/%d.jpg',i)
    inputname = './testcase/2009Walls/2.jpg';
    split(inputname ,m,n,i,folder);
end

%end